<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="sidebar">
	<div class="box">
		<div class="box_title">个人简介</div>
		<div class="profile_photo"><img alt="郑强" src="${domain}/static/images/zhengqiang.jpg" width="100" height="110"></div>
		<div class="profile">
			<p><strong>姓名：</strong>郑强</p>
			<p><strong>出生：</strong>1988.01.10</p>
			<p><strong>职业：</strong>Java 软件工程师</p>
			<p><strong>学历：</strong>高中</p>
			<p><strong>工作：</strong>创新工场应用汇团队</p>
		</div>
	</div>
	<div class="box">
		<div class="box_title">文章分类</div>
		<div class="box_content">
			<ul>
				<c:forEach items="${categories}" var="category">
					<li><a href="${domain}/blog/category/${category.id}">${category.name}<span>${category.articles}</span></a></li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<div class="box">
		<div class="box_title">热门标签</div>
		<div class="box_content">
			<ul>
				<c:forEach items="${hotTags}" var="hotTag">
					<li><a href="${domain}/blog/tag/${hotTag.tagName}">${hotTag.tagName}<span>${hotTag.articles}</span></a></li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<div class="box">
		<div class="box_title">文章存档</div>
		<div class="box_content">
			<ul>
				<c:forEach items="${archives}" var="archive">
					<li><a href="${domain}/blog/archive/${archive.year}/${archive.month}">${archive.year}年${archive.month}月<span>${archive.count}</span></a></li>
				</c:forEach>
			</ul>
		</div>
	</div>
</div>